import {sendData} from "./http";

//生成订单
export const addOrder = (data) => sendData(`/webserver/orders/addOrder`,data);
//获取个人订单
export const getPersonalOrders = (data) => sendData(`/webserver/orders/getPersonalOrders`,data);
//上传文件
export const uploadFile = (data) => sendData(`/webserver/orders/uploadFile`,data);
//添加备注
export const addRemark = (data)=> sendData(`/webserver/orders/addRemark`, data);
//接受应征
export const receiveOrder = (data)=> sendData(`/webserver/orders/receiveOrder`, data);
//拒绝
export const rejectOrder = (data)=>sendData(`/webserver/orders/rejectOrder`,data);
//支付
export const aliPay = (data)=>sendData(`/payserver/pay/aliPay`, data);
//获取订单详情
export const getOrderByOrderId = (data)=>sendData(`/webserver/orders/getOrderByOrderId`, data);
//订单评论
export const addOrderComment = (data)=>sendData(`/webserver/orderComment/addOrderComment`, data);
//回复订单评论
export const replyComment = (data)=>sendData(`/webserver/orderComment/replyComment`,data);
